package cn.codenest.rabbitmqbootpublisher.callback;


import org.springframework.amqp.rabbit.connection.CorrelationData;
import org.springframework.amqp.rabbit.core.RabbitTemplate;

/**
 * @author ：Hyman
 * @date ：Created in 2021/7/27 17:40
 * @description：
 * @modified By：
 * @version: $
 */
public class MyConfirmCallback implements RabbitTemplate.ConfirmCallback {

    @Override
    public void confirm(CorrelationData correlationData, boolean ack, String cause) {
        System.out.println("MyConfirmCallback:ack=" + ack);
    }
}
